/**
 * 
 */
package com.teach.service.impl;

import com.teach.dao.UserDAO;
import com.teach.entity.User;
import com.teach.service.UserUpdateService;

/**
 * @author Liulianqiu
 *2020年8月1日
 */
public class UserUpdateServiceImpl implements UserUpdateService {

	@Override
	public boolean update(User user, int id) {
		UserDAO userDAO = new UserDAO();
		return userDAO.updateById(user, id);
	}

}
